/**    
* @Title: SetRoleReq.java  
* @Package com.kaver.sso.def.req   
* @author roc   
* @date Aug 9, 2021 4:15:44 PM  
* @version V1.0  
* @copyright kaver 
*/
package com.kaver.sso.def.req;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import lombok.Data;

/**  
* @ClassName: SetRoleReq  
* @Description: 设置角色
* @author roc  
* @date Aug 9, 2021 4:15:44 PM  
*    
*/
@Data
public class SetRoleReq {
    /**
     * 用户id
     * */
    @NotBlank
    private String userId;
    /**
     * 角色id
     * */
    @NotNull
    @Size(min = 1)
    private List<Long> roleIds;
}
